<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
return [
    Hyperf\Contract\NormalizerInterface::class => new Hyperf\Serializer\SerializerFactory(Hyperf\Serializer\Serializer::class), //支持对象的序列化和反序列化
    Hyperf\JsonRpc\JsonRpcTransporter::class => Hyperf\JsonRpc\JsonRpcPoolTransporter::class,  //避免高并发时，建立过多连接


    App\Rpc\PaymentServiceInterface::class => App\Jsonrpc\PaymentService::class
];
